<html><head><title>Int</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">Int()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#3A3966"><b>Int</b></font>(Number.f)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Returns the integer part of a float number. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>Number.f</i></td>
<td width="90%"> 
The input value. This can be a <a href="../reference/variables.html">float or double</a> value. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

Returns the integer part by cutting off the fractional part. 

</blockquote><p><b>Remarks</b></p><blockquote>

This function returns an <a href="../reference/variables.html">integer</a> value. To get a quad value, 
use the <a href="intq.html">IntQ()</a> function. 
<br>
<br>
The integer part is created by cutting off the fractional part of the value. There is no rounding. 
To perform rounding, use the <a href="round.html">Round()</a> function. 

</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#3A3966">Debug</font></b> <font color="#3A3966">Int</font>(10.565)  <font color="#3A3966">; will display '10'</font>
</font></pre>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="intq.html">IntQ()</a>, <a href="round.html">Round()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=infinity.html>Infinity()</a> - <a href="index.html">Math Index</a> - <a href="intq.html">IntQ()</a> -><br><br>

</body></html>